OBJS=thread.o
OBJS_MUTEX=thread_mutex.o
OBJS_SEM=thread_sem.o
CC=gcc
CFLAGS= -Wall -O -g

thread : $(OBJS)
	$(CC) $(OBJS) -lpthread -o ../out/thread 

thread_mutex : $(OBJS_MUTEX)
	$(CC) $(OBJS_MUTEX) -lpthread -o ../out/thread_mutex
	
thread_sem : $(OBJS_SEM)
	$(CC) $(OBJS_SEM) -lpthread -o ../out/thread_sem 	
clean:
	rm -f *.o


